import uvicorn
# import sys

from log.log import LOGGING_CONFIG


# debug_mode = '--debug' in sys.argv
# print(f"Debug mode is {'on' if debug_mode else 'off'}")

if __name__ == "__main__":
    uvicorn.run("app:app", host="0.0.0.0", port=9999, reload=True, log_config=LOGGING_CONFIG)
